package com.liuzu.esys.mapper;

import com.liuzu.esys.pojo.Good;
import com.liuzu.esys.vo.TypeBarVo;
import com.liuzu.esys.vo.TypePieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.liuzu.esys.pojo.Good
 */
public interface GoodMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Good record);

    int insertSelective(Good record);

    Good selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Good record);

    int updateByPrimaryKey(Good record);

    List<Good> selectByExample(Object o);

    List<Good> selectByParams(Map<String, Object> params);

    int deleteSelectGood(@Param("ids") String[] arrId);

    List<TypeBarVo> typeBarData();

    List<TypePieVo> typePieData();

    List<Good> userPushList(Map<String, Object> params);
}
